package Test;

import com.ktjy.anno.Apple;
import com.ktjy.anno.FruitInfoUtil;
import com.ktjy.anno.Hour;
import com.ktjy.anno.Hours;
import javafx.concurrent.Worker;

@Hours(hours = 4)
@Hours(hours = 4.5)
@Hours(hours = 2)


/**
 * @Description
 * @Author 李楚鹏
 * @Date 2024/12/2 9:42
 **/
public class Test {
    public static void main(String[] args) {
//        Hours[] hours= Test.class.getAnnotationsByType(Hours.class);
//
//        for (Hours h :hours){
//            System.out.println(h);
//        }

        FruitInfoUtil.gerFruitInfo(Apple.class);
    }
}
